﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HDS.Model.Entity.View
{
    public class VSaleStatistic
    {
        [SugarColumn(ColumnName = "date")]
        [Newtonsoft.Json.JsonConverter(typeof(ShortDateConvert))]
        public DateTime? Date { get; set; }

        [SugarColumn(ColumnName = "type")]
        public string Type { get; set; }

        [SugarColumn(ColumnName = "total_orders")]
        public int TotalOrders { get; set; }

        [SugarColumn(ColumnName = "total_nights_rooms")]
        public int TotalNightsRooms { get; set; }

        [SugarColumn(ColumnName = "currency")]
        public string Currency { get; set; }

        [SugarColumn(ColumnName = "total_price")]
        public decimal TotalPrice { get; set; }
    }
}
